home *** CD-ROM | disk | FTP | other *** search
/ Windows 95 API Bible / Windows 95 API Bible 3 Disc Set.iso / Win32 API Bible Book 1 of 3.iso / chapte25 / ptprior.rc < prev   
Text File  |  1995-01-18  |  3KB  |  89 lines

  1. #include "windows.h"
  2. #include "generic.h"
  3. #include "winver.h"
  4. #include <ptprior.h>  // priority levels
  5.  
  6. MYAPP                   ICON    DISCARDABLE     "GENERIC.ICO"
  7. SMALL                   ICON    DISCARDABLE     "SMALL.ICO"
  8. CHECKMARK               BITMAP  DISCARDABLE     "CHECK.BMP"
  9.  
  10. MYAPP MENU DISCARDABLE 
  11. BEGIN
  12.     POPUP "&File"
  13.     BEGIN
  14.         MENUITEM "E&xit",                       IDM_EXIT
  15.     END
  16.     POPUP "&Class"              
  17.     BEGIN
  18.            MENUITEM "&Idle",                    IDM_IDLE_CLASS
  19.            MENUITEM "&Normal",                  IDM_NORMAL_CLASS
  20.            MENUITEM "&High",                    IDM_HIGH_CLASS
  21.            MENUITEM "&Real Time",               IDM_REALTIME_CLASS
  22.     END
  23.     POPUP "&Level"              
  24.     BEGIN
  25.            MENUITEM "&Worst",                   IDM_WORST
  26.            MENUITEM "&Low",                     IDM_LOW
  27.            MENUITEM "&Normal",                  IDM_NORMAL
  28.            MENUITEM "&High",                    IDM_HIGH
  29.            MENUITEM "&Best",                    IDM_BEST
  30.     END
  31.     MENUITEM "&Test",                           IDM_TEST
  32.     POPUP "&Help"
  33.     BEGIN
  34.         MENUITEM "&About MyApp...",             IDM_ABOUT
  35.     END
  36. END
  37.  
  38.  
  39. ABOUTBOX DIALOG DISCARDABLE  22, 17, 171, 93
  40. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  41. CAPTION "About My Application"
  42. FONT 8, "System"
  43. BEGIN
  44.     DEFPUSHBUTTON   "OK",IDOK,126,71,32,14,WS_GROUP
  45.     ICON            "MyApp",-1,3,2,18,20
  46.     LTEXT           "CompanyName",DLG_VERFIRST,28,2,100,8
  47.     LTEXT           "FileDescription",401,28,10,76,8
  48.     LTEXT           "ProductVersion",402,113,10,53,8
  49.     LTEXT           "LegalCopyright",403,28,19,137,8
  50.     LTEXT           "LegalTrademarks",DLG_VERLAST,28,34,136,27
  51.     CONTROL         "",501,"Static",SS_BLACKRECT,28,31,138,1
  52. END
  53.  
  54.  
  55. 1 VERSIONINFO
  56.  FILEVERSION 3,3,0,0
  57.  PRODUCTVERSION 3,3,0,0
  58.  FILEFLAGSMASK 0x3fL
  59. #ifdef _DEBUG
  60.  FILEFLAGS 0xbL
  61. #else
  62.  FILEFLAGS 0xaL
  63. #endif
  64.  FILEOS 0x4L
  65.  FILETYPE 0x1L
  66.  FILESUBTYPE 0x0L
  67. BEGIN
  68.     BLOCK "StringFileInfo"
  69.     BEGIN
  70.         BLOCK "040904B0"
  71.         BEGIN
  72.             VALUE "CompanyName", "Your Company\0"
  73.             VALUE "FileDescription", "My Application\0"
  74.             VALUE "FileVersion", "1.0\0"
  75.             VALUE "InternalName", "MyApp\0"
  76.             VALUE "LegalCopyright", "Copyright \251 Your Company. 1995\0"
  77.             VALUE "LegalTrademarks", "Microsoft\256 is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation\0"
  78.             VALUE "OriginalFilename", "\0"
  79.             VALUE "ProductName", "MyApp\0"
  80.             VALUE "ProductVersion", "1.0\0"
  81.         END
  82.     END
  83.     BLOCK "VarFileInfo"
  84.     BEGIN
  85.         VALUE "Translation", 0x409, 1200
  86.     END
  87. END
  88.  
  89.